x86/domctl: remove XEN_DOMCTL_pin_mem_cacheattr
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 25 Jan 2018 11:26:55 +0000 (12:26 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Jan 2018 11:26:55 +0000 (12:26 +0100)
commit7f76b3a06aefc1f201f6bfcb593b5d0b3dc68bff
tree10f0e51a3965e04a11060120cb06e733a73d6eae
parentaf2a20e40e92da6c5383b66bc507bdb7d15ff829
x86/domctl: remove XEN_DOMCTL_pin_mem_cacheattr

Remove the implementation of XEN_DOMCTL_pin_mem_cacheattr since it has
been replaced by a dmop. Change xc_domain_pin_memory_cacheattr() so
that it is only defined when XC_WANT_COMPAT_DEVICEMODEL_API is set and
have it call the new dmop.  Leave the definitions of
XEN_DOMCTL_MEM_CACHEATTR_* since they are still used by QEMU.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
tools/flask/policy/modules/xen.if
tools/libs/devicemodel/include/xendevicemodel.h
tools/libxc/include/xenctrl.h
tools/libxc/include/xenctrl_compat.h
tools/libxc/xc_devicemodel_compat.c
tools/libxc/xc_domain.c
xen/arch/x86/domctl.c
xen/include/public/domctl.h
xen/include/public/hvm/dm_op.h
xen/xsm/flask/hooks.c
xen/xsm/flask/policy/access_vectors